package com.zelix;

import java.io.*;
import java.util.HashSet;
import java.util.Hashtable;

class x5 extends q5
    implements j5
{

    private String o;
    private a6 p;
    private static String z;

    x5(kt kt1, int i, String s, jb jb1, qy qy, PrintWriter printwriter)
        throws IOException, dc
    {
        super(kt1, i, s, jb1, qy);
        byte abyte0[] = new byte[super.m];
        jb1.read(abyte0);
        jb jb2 = jb.a(abyte0, false);
        try
        {
            p = new a6(this, jb2, qy);
            if(!p.b())
            {
                super.n = false;
                o = z + p.a();
            }
        }
        finally
        {
            jb2.close();
        }
    }

    public void b(Hashtable hashtable)
    {
        if(super.n)
            p.b(hashtable);
    }

    public void a(HashSet hashset, HashSet hashset1, HashSet hashset2, HashSet hashset3)
    {
        if(super.n)
            p.a(hashset, hashset1, hashset2, hashset3);
    }

    public void a(HashSet hashset)
    {
        if(super.n)
            p.a(hashset);
    }

    public void a(Hashtable hashtable)
    {
        super.a(hashtable);
        if(super.n)
            p.a(hashtable);
    }

    public void a()
    {
        if(super.n)
            p.f();
    }

    public void a(yg yg)
    {
        if(super.n)
            p.a(yg);
    }

    protected void a(DataOutputStream dataoutputstream, Hashtable hashtable, nh nh)
        throws IOException, tb
    {
label0:
        {
            super.a(dataoutputstream, hashtable, nh);
            if(super.n)
            {
                p.a(dataoutputstream, hashtable, nh);
                if(kt.i == 0)
                    break label0;
            }
            dataoutputstream.write(super.j);
        }
    }

    private static String z(char[] chs) {
        byte key = 0;
        for (int i = 0; i < chs.length; i++) {
            switch (i % 5) {
                case 0:
                    key =0x40;
                    break;
                case 1:
                    key =88;
                    break;
                case 2:
                    key =1;
                    break;
                case 3:
                    key =64;
                    break;
                case 4:
                    key =35;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static 
    {
        z = z("\t6w!O)<!$F&9t,W`.`,V%x;`".toCharArray());
    }
}
